package com.chinasoftinc.facommon.control.conversation;

import com.chinasoftinc.facommon.FAConfigMgr;
import com.chinasoftinc.facommon.utils.LogUtil;

/**
 * 未赋值警告
 *
 * @since 2022-04-20
 */
public class WarnLog implements Runnable {
    private static final boolean DEBUG = FAConfigMgr.get().isDebug();
    public static WarnLog INSTANCE = new WarnLog();

    @Override
    public void run() {
        LogUtil.warn("WarnLog", "the value not present");
        if (DEBUG) {
            new Throwable("not present").printStackTrace();
        }
    }
}
